Skip to content

chore: release 1.6.2#34

Merged
PatrickSys merged 7 commits intomasterfrom
feat/v1.6.2-release-prep
Feb 17, 2026
Merged

chore: release 1.6.2#34
PatrickSys merged 7 commits intomasterfrom
feat/v1.6.2-release-prep

Conversation

@PatrickSys
Copy link
Owner

@PatrickSys PatrickSys commented Feb 17, 2026

  • Updated AGENTS.md with new internal-docs handling instructions and added a Lessons Learned section capturing behavioral insights from evaluations.
  • Enhanced CHANGELOG.md to reflect changes in search output structure and added a Release Checklist.
  • Introduced CLI functionality for memory management, allowing users to list, add, and remove memories without AI agent involvement.
  • Refined README.md for clarity on search capabilities and preflight checks.
  • Improved search quality assessment and output formatting in capabilities documentation.

This release focuses on improving documentation clarity, enhancing user experience with CLI tools, and refining search output efficiency.

What / Why

Added CLI tools. Stripped down search default output to reduce token usage by 50%. Cleared technical debt

Release notes

- Updated AGENTS.md with new internal-docs handling instructions and added a Lessons Learned section capturing behavioral insights from evaluations.
- Enhanced CHANGELOG.md to reflect changes in search output structure and added a Release Checklist.
- Introduced CLI functionality for memory management, allowing users to list, add, and remove memories without AI agent involvement.
- Refined README.md for clarity on search capabilities and preflight checks.
- Improved search quality assessment and output formatting in capabilities documentation.

This release focuses on improving documentation clarity, enhancing user experience with CLI tools, and refining search output efficiency.
This update modifies the pnpm-lock.yaml file to reflect the new version of ajv from 8.17.1 to 8.18.0, ensuring compatibility with dependencies that rely on this package.
@greptile-apps
Copy link

greptile-apps bot commented Feb 17, 2026

Greptile Summary

This release strips down search output to reduce token usage by ~50% and extracts CLI code from the protocol layer, adhering to the "Janitor > Visionary" principle from AGENTS.md.

Major changes:

  • Search output streamlined: Removed lastModified, made Stable trend implicit (only Rising/Declining emitted), condensed relationships to importedByCount/hasTests, added compact type field merging componentType:layer
  • Preflight flattened: From nested evidenceLock/epistemicStress to simple {ready, reason} for agent consumption
  • Search quality gate: Evidence lock now blocks edits when searchQuality is low_confidence, preventing "confidently wrong" edits
  • CLI extraction: Memory management moved from src/index.ts to src/cli.ts per code separation rules
  • Framework-agnostic core: Angular patterns self-register via AngularAnalyzer constructor, snippet extraction delegated to analyzers, golden file scoring now counts unique pattern categories instead of hardcoded Angular checks
  • Bug fix: Angular providedIn metadata extraction path corrected

All changes align with project constraints (zero-infra, framework-agnostic, privacy-first) and the release checklist was followed (CHANGELOG, README, capabilities.md all updated).

Confidence Score: 5/5

  • Safe to merge - well-executed refactor with comprehensive tests and documentation
  • This is a mature release with thoughtful architectural improvements. The changes follow established project principles (AGENTS.md rules), maintain backward compatibility at the protocol level, include comprehensive test coverage for new functionality, and all documentation is updated. The refactoring makes the codebase more maintainable by enforcing framework-agnostic patterns.
  • No files require special attention - all changes are clean and well-tested

Important Files Changed

Filename Overview
src/cli.ts New CLI for memory management (list/add/remove) - clean implementation with proper error handling
src/index.ts Major refactor: CLI extraction, search output streamlined, preflight flattened, removed lastModified enrichment
src/preflight/evidence-lock.ts Added search quality gate - blocks edits when retrieval confidence is low (prevents "confidently wrong" problem)
src/patterns/semantics.ts Framework-agnostic refactor - complementary patterns now registered by analyzers at startup
src/analyzers/angular/index.ts Self-registers patterns, fixes providedIn extraction bug, adds getSnippetPattern method
src/core/indexer.ts Removed hardcoded Angular patterns, golden file scoring now framework-agnostic (counts unique categories)

Flowchart

flowchart TD
    A[search_codebase called] --> B{Check intent parameter}
    B -->|explore or undefined| C[Perform search]
    B -->|edit/refactor/migrate| C
    
    C --> D[Load intelligence data]
    D --> E[Assess search quality]
    
    E --> F{Intelligence available?}
    F -->|No| G[Return basic results]
    F -->|Yes| H[Build evidence lock]
    
    H --> I{Search quality status}
    I -->|low_confidence| J[Force ready=false]
    I -->|ok| K[Calculate evidence score]
    
    K --> L{Evidence score >= 40?}
    L -->|No| J
    L -->|Yes| M{Epistemic stress?}
    
    M -->|Yes conflicts/stale| J
    M -->|No| N[Set ready=true]
    
    J --> O[Add reason to preflight]
    N --> P[Preflight ready without reason]
    
    O --> Q[Flatten preflight to ready, reason]
    P --> Q
    
    Q --> R[Streamline result output]
    R --> S[Return: searchQuality + preflight + results]
Loading

Last reviewed commit: 126b6b5

Copy link

@greptile-apps greptile-apps bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

16 files reviewed, no comments

Edit Code Review Agent Settings | Greptile

This commit introduces an override for the ajv package in both package.json and pnpm-lock.yaml, ensuring that any version below 8.18.0 is replaced with 8.18.0 or higher. This change aims to maintain compatibility with dependencies relying on ajv while streamlining version management.
Copy link

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: bf73756a31

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

… quality guidance

- Modified preflight output structure to support both full preflight cards and flattened responses based on context.
- Updated the logic in `buildEvidenceLock` to ensure low-confidence search quality status provides clear guidance for editing restrictions.
- Added tests to validate behavior when search quality is low, ensuring readiness checks and next action messages are accurate.
…k.yaml

This commit modifies the ajv version override in both package.json and pnpm-lock.yaml to specify a direct dependency on ajv version 8.18.0 for the @modelcontextprotocol/sdk package. This change ensures compatibility with the specified SDK while maintaining the integrity of the dependency tree.
Updated the type definition of preflightPayload in index.ts to improve readability and maintainability. The new structure explicitly outlines the possible types, ensuring better understanding of the variable's usage in the context of preflight handling.
…it command

- Updated the internal-docs subproject to commit 0fe6c9e1cf11aad5b481a311cb7ecff3ce79943e-dirty.
- Changed the security audit command in the GitHub Actions workflow to run `pnpm audit --prod` for improved dependency security checks.
@PatrickSys PatrickSys merged commit 2a06138 into master Feb 17, 2026
3 checks passed
@PatrickSys PatrickSys deleted the feat/v1.6.2-release-prep branch February 17, 2026 22:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

Comments